package com.deruan.hotcore.resource.gui.tree;

import javax.swing.Icon;

import org.columba.mail.folder.IMailbox;

public class MessageSearchNode extends ResultTreeNode
{
	private Icon statusIcon;
	private String title;
	private String from;
	private String dateString;
	private IMailbox folder;
	private Object messageIdObject;
	
	public MessageSearchNode(Icon statusIcon, String title, 
			String from, String date, IMailbox folder, Object id)
	{
	     super(title);
	     this.statusIcon = statusIcon;
	     this.from = from;
	     this.dateString = date;
	     this.folder = folder;
	     this.messageIdObject = id;
	}
	
	public MessageSearchNode()
	{
		super("");
	}

	public String getDateString() {
		return dateString;
	}

	public void setDateString(String dateString) {
		this.dateString = dateString;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public Icon getStatusIcon() {
		return statusIcon;
	}

	public void setStatusIcon(Icon statusIcon) {
		this.statusIcon = statusIcon;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public IMailbox getFolder() {
		return folder;
	}

	public void setFolder(IMailbox folderMailbox) {
		this.folder = folderMailbox;
	}

	public Object getMessageIdObject() {
		return messageIdObject;
	}

	public void setMessageIdObject(Object messageIdObject) {
		this.messageIdObject = messageIdObject;
	}

}
